package org.ikastola

import java.util.Date;

class PaymentCheck {
	
	String number
	String bank
	String owner
	String account
	Double amount
	Date checkdate //fecha de creacion del cheque
	Date paydate // fecha a cobrar o depositar
	String mode // si es para cobrar o depositar
	Date classCreated
	Date classUpdated
	Integer deleted
	
    static constraints = {
		number blank: false
		bank blank: false
		amount blank: false
		checkdate blank: false
		paydate blank: false
		mode blank: false
		owner blank: false
		account blank: false
		classCreated nullable: true
		classUpdated nullable: true
		deleted inList: [0, 1]
    }
}
